package com.guodefu.demo.utils;

public class NumberUtil {


    public static boolean isInteger(String str) {
        if (str == null) return false;
        for (char c : str.toCharArray()) {
            if (!Character.isDigit(c)) return false;
        }
        return true;
    }

}
